package com.itheima.dubbo.interfaces;


import com.itheima.commons.pojo.FollowUser;
import com.itheima.commons.pojo.Video;

public interface VideoApi {

    void followUser(FollowUser followUser);

    void disFollowUser(FollowUser followUser);

    /**
     * 查询用户是否关注某个用户
     * @param userId       当前用户
     * @param followUserId 关注的目标用户
     * @return
     */
    Boolean isFollowUser(Long userId, Long followUserId);

    void saveVideo(Video video);
}
